home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1996 February / macformat-034.iso / mac / Shareware City / Developers / simple-sockets-11-c / Simple Sockets 1.1 ƒ / ip ƒ / ipdr.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-01-19  |  339 b   |  22 lines  |  [TEXT/CWIE]

  1. /*
  2.  * ipdr.h
  3.  *
  4.  * Internet Protocol Data Representation
  5.  *
  6.  * This file should remove some of the burden from ip.c
  7.  *
  8.  * MDT 19 JAN 95
  9.  */
  10.  
  11. #ifndef __IPDATAREP_HEADER__
  12. #define __IPDATAREP_HEADER__
  13.  
  14. /* Data Representation */
  15.  
  16. int htons(int x);
  17. int ntohs(int x);
  18.  
  19. long htonl(long y);
  20. long ntohl(long y);
  21.  
  22. #endif /* __IPDATAREP_HEADER__ */